arm: lib: Sync libgcc shift operations
authorMarek Vasut <[email protected]>
Thu, 26 May 2016 16:01:39 +0000 (18:01 +0200)
committerTom Rini <[email protected]>
Fri, 3 Jun 2016 01:21:44 +0000 (21:21 -0400)
commit06b36cb7752f64232e15a53864a97861de0aab7f
tree736684669116109867c1288559c74b06bc9a11a8
parent11b1a9b2c0fecb7334ccb23f29200da0be0cc156
arm: lib: Sync libgcc shift operations

Sync the libgcc shift operations with Linux kernel 4.4.6 , commit
0d1912303e54ed1b2a371be0bba51c384dd57326 . Syncing these three
files is easy, as there is almost no change in them, except the
addition of Thumb support.

This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
which is necessary for correct build of these files both in ARM and
Thumb mode, just like Linux does.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
arch/arm/lib/ashldi3.S
arch/arm/lib/ashrdi3.S
arch/arm/lib/lshrdi3.S